package com.io.testClone;

import cn.hutool.core.util.ObjectUtil;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-04-15 17:29:19
 */
public class TestDeepClone {
    public static void main(String[] args) {
        Dog dog1 = new Dog(10, "123", new Object());
        Dog dog2 = ObjectUtil.cloneByStream(dog1);

        System.out.println(dog1 == dog2);
    }
}

